package com.mengxin.secondkill.exception;

import lombok.Data;

/**
 * @author mengxin
 * @date 2020/12/12 17:40
 */
@Data
public class ServiceException extends RuntimeException{

    private int code;

    public ServiceException(int code,String message){
        super(message);
        this.code = code;
    }
}
